#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "SerialManager.h"
#include "ElaWindow.h"

class T_Card;
class T_Setting;
class T_Graphics;
class ElaContentDialog;

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public ElaWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    SerialManager *serialManager;
    Ui::MainWindow *ui;
    ElaContentDialog* _closeDialog{nullptr};
    T_Card* _cardPage{nullptr};
    T_Setting* _settingPage{nullptr};
    T_Graphics* _graphicsPage{nullptr};
};
#endif // MAINWINDOW_H
